package com.rec.smile.exception;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

//@ControllerAdvice
public class ExceptionHander {

	//@ExceptionHandler(value=Exception.class)
	public void defaultErrorHander(HttpServletRequest req, Exception e){
		e.printStackTrace();
		System.out.println("ExceptionHander-------------------execu");
	}
}
